<template>
  <view class="container">
    <view class="top_title">
      下级管理
      <image src="../../static/img/left_icon.png" class="goback" @tap="goback"></image>
    </view>
    <view class="status">
      <view class="status_box" @tap="goPromotionInvitation">
        <text class="peoples">5</text>
        <text class="text_t">下级人数（人）</text>
        <text class="invite_btn">去邀请</text>
      </view>
      <view class="status_box" @tap="goCashManagement">
        <text class="peoples">暂无</text>
        <text class="text_t">累积收益（元）</text>
        <text class="invite_btn">去提现</text>
      </view>
    </view>
    <view class="bottom_box">
      <view class="search_box">
        <image src="../../static/img/search_icon.png"></image>
        <input placeholder="请输入想查询的用户账号"/>
      </view>
      <view class="search_result">
        <image src="../../static/img/no_data2.png"></image>
      </view>
    </view>
  </view>
</template>

<script>
  export default {
  	data() {
  		return {
  		}
  	},
  	methods: {
      goback(){
        uni.switchTab({
          url:"../PersonalCenter/PersonalCenter"
        })
      },
      goPromotionInvitation(){
        uni.navigateTo({
          url:"../PromotionInvitation/PromotionInvitation",
          animationType:"slide-in-right"
        })
      },
      goCashManagement(){
        uni.navigateTo({
          url:"../CashManagement/CashManagement",
          animationType:"slide-in-right"
        })
      },
  	}
  }
</script>

<style>
  @import "Subordinatelevel.css"
</style>